package edu.gdin.ecommerce.service;

import java.util.List;

import edu.gdin.ecommerce.model.DicDetail;
import edu.gdin.ecommerce.model.DicType;
import edu.gdin.ecommerce.util.Pager;

public interface IDicService {
	Pager queryDicType(String tName, String tDesc, Integer cPage);

	boolean addDicType(DicType dType);

	Pager queryDicDetail(DicDetail detail, Integer cPage);

	List<DicType> queryAllTypes();

	DicType queryDicTypeById(String dicTypeId);

	boolean addDicDetail(DicDetail pd);
	
	List<DicDetail> getAllDicDetails();
	
	Pager queryDicDetailByTypeId(String dicTypeId, Integer cPage);

}
